<m-card [fullHeight]="true" *ngIf="!(hideNav$ | async); else outletRef">
	<div card-head>
		<nav mat-tab-nav-bar>
			<span
				mat-tab-link
				*ngFor="let nav of navs"
				[routerLink]="nav.link"
				routerLinkActive
				#linkRef="routerLinkActive"
				[active]="linkRef.isActive"
			>
				{{ nav.label }}
			</span>
		</nav>
	</div>
	<div>
		<router-outlet></router-outlet>
	</div>
</m-card>
<ng-template #outletRef>
	<router-outlet></router-outlet>
</ng-template>
